%
% Author: Vasyl Mykhalchuk
% 01/02/2012
%
function [notEmpty] = isNotEmpty( u )
notEmpty = 0;
n = size(u, 2);
for i = 1 : n
    if u(i) == 1
        notEmpty = 1;
    end % if
end % for

end % function isNotEmpty

